/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package GamePlay;

import FrameWork.IPlay;
import FrameWork.IState;
import java.io.IOException;
import javax.microedition.lcdui.Image;
import javax.microedition.lcdui.game.Sprite;

/**
 *
 * @author DANTRUONG
 */
public class Virtual_Menu extends IState{
    static int m_OldKey = 0;
    Sprite m_VirBack;
    
    public Virtual_Menu(IPlay _Play){
        super(_Play);
    }
    public void Init (){
        super.Init();
        try {
            m_VirBack = new  Sprite (Image.createImage("/Image/virback.png"),
                                240, 320);
        } catch (IOException ex) {
            ex.printStackTrace();
        }
    }
    public void Render (){
       m_VirBack.setFrame(0);
       m_VirBack.setPosition(0,0);
       m_VirBack.paint(m_Graphics);
    }
}
